package cn.sciento.farm.devicemanager.quartz.service;

import cn.sciento.farm.devicemanager.dao.entity.DevTimer;
import org.quartz.SchedulerException;

/**
 * @author wumu
 * @version V1.0
 * @date 9/6/18
 * @time 4:26 PM
 */
public interface QuartzTimerService {

    int insert(DevTimer timer) throws SchedulerException;

    int deleteById(Long id) throws SchedulerException;

    int update(DevTimer switchTimer) throws SchedulerException;

}
